package com.liang.entity;
/*
 *@Author: ljy
 *@Date:2021/11/6 10:45
 *
 */

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.util.Date;
@Data
@ExcelTarget("users")
public class User {
    @Excel(name="编号")
    private String id;
    @Excel(name="姓名")
    private String name;
    @Excel(name="生日",format = "yyyy年mm月dd日",width = 15.0)
    private Date bir;
    @Excel(name="身份证号",width=20.0)
    private String no;
    @Excel(name="籍贯",width=20.0)
    private String address;
}
